package com.customer.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.nameless.entity.Client;
import com.nameless.vo.ClientVo;
import com.nameless.vo.Result;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author WHZ
 * @date 2023年02月27日 11:21
 */
public interface ClientMapper extends BaseMapper<Client> {
    List<Client> findAll(ClientVo clientVo);

    Client getAllPone(String phoneNum);
    Client getAllUserName(String username);
    Client getClient(String clientName);

    Integer uppassword(@Param("encode")String encode,@Param("id")Integer id);
}
